﻿#if UNITY_EDITOR
/// <summary>
/// 代码结果
/// </summary>
public enum enESF_CodeResult
{
    /// <summary>
    /// 代码块
    /// </summary>
    CodeBlock,
    /// <summary>
    /// 内联函数
    /// </summary>
    InlineFunction,
    /// <summary>
    /// using引用块
    /// </summary>
    Using,
}
/// <summary>
/// 编译结果
/// </summary>
public abstract class AbsESF_Result
{
    /// <summary>
    /// 分类
    /// </summary>
    public enESF_CodeResult classify { get; private set; }
    /// <summary>
    /// 代码
    /// </summary>
    public string code { get; private set; }
    /// <summary>
    /// C#代码结果
    /// </summary>
    /// <param name="_code">代码</param>
    /// <param name="_classify">分类</param>
    public AbsESF_Result(string _code, enESF_CodeResult _classify)
    {
        code = _code;
        classify = _classify;
    }
}
#endif
